<!DOCTYPE html>
<head>
    <title>组件表单</title>
	<!-- 插入列表依赖资源 -->
	<!-- #include /base/meta/base_header -->
	
	<!-- #include /base/meta/date -->
	
	<!-- #include /base/meta/file -->
	
	<!-- #include /base/meta/img -->
	
	<!-- #include /base/meta/wui -->

</head>
<body>
    <div class="portlet">
        <div class="portlet-title">
            <i class="fa fa-circle-o"></i>新建课程
        </div>

        <div class="portlet-body">
            <form role="form" id="widgetForm">
                <table class="table">
                    <tr>
                        <td class="control-title">课程标题:</td>
                        <td class="control-content">
                            <input type="text" class="wui-input" id="title" placeholder="请输入标题" />
                        </td>
                        <td class="control-title">类别:</td>
                        <td class="control-content">
                            <input id="type" type="text" placeholder="请输入类型,假如:工作求助、部门活动、年会报名、..." />
                        </td>
                    </tr>
                    <tr>
                        <td class="control-title">预约发布时间:</td>
                        <td class="control-content">
                            <input id="publishTime" type="text" />
                        </td>
                        <td class="control-title">是否认证课程</td>
                        <td class="control-content">
                            <select id="isCertified" class="wui-select">
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td class="control-title">视频上传:</td>
                        <td class="control-content">
                            <div id="videoUpload"></div>
                            <p class="msg">* 视频尺寸不超过256M</p>
                        </td>
                        <td class="control-title">视频封面:</td>
                        <td class="control-content">
                            <div id="coverPhotoUpload"></div>
                            <p class="msg">建议图片尺寸为300*300</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="control-title">参与人员:</td>
                        <td class="control-content" colspan="3">
                            <select id="actor"></select>
                        </td>
                    </tr>
                    <tr>
                        <td class="control-title">内容简介:</td>
                        <td class="control-content" colspan="3">
                            <textarea id="contents" placeholder="请输入正文内容"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td class="form-table-btns" colspan="4">
                            <a href="javascript:void(0)" class="wui-btn wui-btn-blue" id="btnSubmit">提交</a>
                            <a href="javascript:void(0)" class="wui-btn wui-btn-default" id="btnReset">重置</a>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
    
    <script src="/scripts/demo/widget/createCourseController.js?t=1" type="text/javascript"></script>
    
    <script>
	    $(document).ready(function (){
	    	
	    	// 加载页面信息
	        loadPageInfo();
	
	    }); // end $(document).ready(function ()
         
    </script>
    
</body>